Automattic\Jetpack\Backup\REST_Controller S

Total Complexity 38
Dependencies 7
Dependents 0
Total lines 588
Lines of code 373
Logical lines of code 115
Comment lines 145
Methods 13
Properties 0

Methods 13

Method Rating Maintainability Complexity Lines of code
register_rest_routes()
A
32 5 142
get_site_backup_undo_event()
A
43 11 48
fetch_database_object_backup()
S
48 4 33
fetch_comment_backup()
S
49 3 31
install_backup_helper_script()
S
60 3 13
fetch_post_backup()
S
55 2 20
get_allowed_object_types()
S
51 1 32
fetch_term_backup()
S
61 2 12
fetch_user_backup()
S
61 2 12
backup_permissions_callback()
S
64 2 10
delete_backup_helper_script()
S
65 1 10
fetch_options_backup()
S
69 1 6
get_option_row()
S
74 1 4